package com.blacksheep.mtm.dto.front;

import com.blacksheep.mtm.dto.MedicineItemDto;
import com.blacksheep.mtm.pojo.manager.TbOrder;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 后台返回前端的order实体类
 * 继承TbOrder类
 */
public class OrderFrontDto extends TbOrder {
    private String ccName;

    private String dispenserName;

    private String dispatcherName;

    private String insurance;

    private String insuranceType;

    private String receiverName;

    private String receiverPhone;
    private String receiverState;
    private String receiverCity;
    private String receiverDistrict;
    private String addressType;

    private String receiverAddress;

    private String deliveryId;

    private String deliveryName;

    private String memberName;

    private Integer freezing;
    private String prescriptionPic;
    private Double cost;

    private String cancelContent;
    private Date cancelTime;

    public Date getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Date cancelTime) {
        this.cancelTime = cancelTime;
    }

    public String getCancelContent() {
        return cancelContent;
    }

    public void setCancelContent(String cancelContent) {
        this.cancelContent = cancelContent;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    @Override
    public String getPrescriptionPic() {
        return prescriptionPic;
    }

    @Override
    public void setPrescriptionPic(String prescriptionPic) {
        this.prescriptionPic = prescriptionPic;
    }

    public Integer getFreezing() {
        return freezing;
    }

    public void setFreezing(Integer freezing) {
        this.freezing = freezing;
    }

    private List<MedicineItemDto> medicineList;

    public String getAddressType() {
        return addressType;
    }

    public void setAddressType(String addressType) {
        this.addressType = addressType;
    }

    public String getReceiverState() {
        return receiverState;
    }

    public void setReceiverState(String receiverState) {
        this.receiverState = receiverState;
    }

    public String getReceiverCity() {
        return receiverCity;
    }

    public void setReceiverCity(String receiverCity) {
        this.receiverCity = receiverCity;
    }

    public String getReceiverDistrict() {
        return receiverDistrict;
    }

    public void setReceiverDistrict(String receiverDistrict) {
        this.receiverDistrict = receiverDistrict;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public List<MedicineItemDto> getMedicineList() {
        return medicineList;
    }

    public void setMedicineList(List<MedicineItemDto> medicineList) {
        this.medicineList = medicineList;
    }

    public String getInsurance() {
        return insurance;
    }

    public void setInsurance(String insurance) {
        this.insurance = insurance;
    }

    public String getInsuranceType() {
        return insuranceType;
    }

    public void setInsuranceType(String insuranceType) {
        this.insuranceType = insuranceType;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(String deliveryId) {
        this.deliveryId = deliveryId;
    }

    public String getDeliveryName() {
        return deliveryName;
    }

    public void setDeliveryName(String deliveryName) {
        this.deliveryName = deliveryName;
    }

    public String getCcName() {
        return ccName;
    }

    public void setCcName(String ccName) {
        this.ccName = ccName;
    }

    public String getDispenserName() {
        return dispenserName;
    }

    public void setDispenserName(String dispenserName) {
        this.dispenserName = dispenserName;
    }

    public String getDispatcherName() {
        return dispatcherName;
    }

    public void setDispatcherName(String dispatcherName) {
        this.dispatcherName = dispatcherName;
    }

    public OrderFrontDto(){
        super();
    }
    public OrderFrontDto(String orderId, BigDecimal payment, String paymentType, String insurance, String insuranceType,BigDecimal postFee, Integer status, String shippingId, Long ccId, Long dispenserId, Long dispatcherId, Long memberId,String prescriptionPic,
                         String cancelReason, String refuseReason, Date reserveTime, Date closeTime, Date endTime, Date consignTime, Date updateTime, Date createTime,
                         String ccName,String dispenserName,String dispatcherName) {
        super(orderId,payment,paymentType,insurance,insuranceType,postFee,status,shippingId,ccId,dispenserId,dispatcherId,memberId,prescriptionPic,cancelReason,refuseReason,reserveTime,closeTime,endTime,consignTime,updateTime,createTime);
        this.ccName = ccName;
        this.dispatcherName = dispatcherName;
        this.dispenserName = dispenserName;
    }

}
